#! /usr/bin/env python
# -*- coding: utf-8 -*-

import os
import locale

locale.setlocale(locale.LC_ALL, 'pt_BR.UTF-8')
conf_dir = os.path.expanduser('~/.personal-finances')
os.chdir(conf_dir)

class ConsultaLancamentos:

	def clanc(self):

		os.system('clear')
		print '\t\tRECEITAS\n'
		r = open('receitas','r')

		for receitas in r:
			print '\t\t',receitas
		
		print '\t\tDESPESAS\n'
		d = open('despesas','r')

		for despesas in d:
			print '\t\t',despesas
